<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        p {
            color: red
        }
    </style>
</head>
<body>
<p @click="click">huhuhuhuh</p>
<input type="text" value="a"/>
<script>
    const a = ''
    document.querySelector('p').addEventListener('click', function () {
        console.log(1111)
    })

    document.querySelector('input').addEventListener('input', function () {
        console.log(a)
    })
</script>
</body>

</html>
